import request from "./http";

//获取热门小说
export function getPopularNovel(){
    return request({
        url:"/shelf/info.json",
        method:"get",
    })
}

//获取一品红文

export function getBookShelf(params){
    return request({
        url:"book/getsub.json",
        method:"get",
        params
    })
}

//获取完本专区数据
export function getEndBook(){
    return request({
        url:"store/bookList.json?uuid=83821f1710b74569a7afb68afac96d1c",
        method:"get",

    })
}

//获取主编推荐
export function getChiefEditor(){
    return request({
        url:"/store/show.json?type=female_recommend&uuid=b229b022871941fea35edc7aceeed1ab",
        method:"get",

    })
}

//获取所有推荐

export function getAllBook(){
    return request({
        url:"/store/show.json?type=publish&uuid=b5648dd3c4f24d9796f590cd81ca076e",
        method:"get",

    })
}


// 免费读书

export function getFreeBook(){
    return request({
        url:"/store/rankList.json?rankType=903&uuid=017de2274aa5400e9dabe30f173e98d9&all=0",
        method:"get",

    })
}
